package com.naiterui.ehp.bs.doctor.service.impl;

import org.springframework.stereotype.Service;

import com.naiterui.ehp.bp.support.exception.BusinessException;
import com.naiterui.ehp.bp.utils.biz.AppJumpProtocol;
import com.naiterui.ehp.bs.doctor.service.IPersonalMsgService;
import com.naiterui.ehp.bs.doctor.utils.PushUtil;
import com.naiterui.ehp.bs.doctor.utils.UserType;

@Service
public class AdPersonalMsgServiceImpl implements IPersonalMsgService {

    public static final int MSG_TYPE_COUPON = 1;
    public static final int MSG_TYPE_REWARD_PROP = 2;
    public static final int MSG_TYPE_ORDER = 3;
    public static final int MSG_TYPE_PRO_ORDER = 4;

    @Override
    public void sendVideoPushMessage(Long doctorId, String message) throws BusinessException {
        PushUtil.pushMessage(doctorId, message, AppJumpProtocol.DR_VIDEO_ORDER_LIST.parse(), UserType.DOCTOR);
    }

}
